package com.xnyzc.lhy.task.entity.demo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
*
* 车辆信息表
*
* @author wangshuo
* @since 2019-10-18
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaSysVehicle对象", description="车辆信息表")
public class OaSysVehicle implements Serializable {

private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value="vehicle_id", type = IdType.INPUT)
    private Long vehicleId;

    @ApiModelProperty(value = "车牌号")
    private String vehNo;

    @ApiModelProperty(value = "公司ID")
    private Long companyId;

    @ApiModelProperty(value = "车辆状态（0：空闲、1：维修中、2：使用中）")
    private Integer vehStatus;

    @ApiModelProperty(value = "车辆颜色（参见字典表）")
    private Integer vehColor;

    @ApiModelProperty(value = "车辆座位数")
    private Integer vehSeatsNumber;

    @ApiModelProperty(value = "车系编码")
    private String code;

    @ApiModelProperty(value = "发动机号")
    private String vehEngineNumber;

    @ApiModelProperty(value = "车架号")
    private String vehFrameNumber;

    @ApiModelProperty(value = "燃油类型（0：电动、1：油车）")
    private Integer vehFuelType;

    @ApiModelProperty(value = "用户来源")
    private String tag;

    @ApiModelProperty(value = "扩展字段1")
    private String expand1;

    @ApiModelProperty(value = "扩展字段2")
    private String expand2;

    @ApiModelProperty(value = "扩展字段3")
    private String expand3;

    @ApiModelProperty(value = "版本号")
    @Version
    private Long version;

    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private Long updateUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "车辆类型(0-经济型,1-舒适性,2-豪华型,3-商务型)")
    private Integer vehType;

    @ApiModelProperty(value = "车辆图片")
    private Long vehiclePictureId;

    @ApiModelProperty(value = "行驶证图片")
    private Long vehicleLicensePictureId;

    @ApiModelProperty(value = "城市字典表code")
    private String cityCode;

    @ApiModelProperty(value = "行驶证编号")
    private String drivingLicenseNumber;

    @ApiModelProperty(value = "车辆所有者ID")
    private Long vehicleOwnerId;

    @ApiModelProperty(value = "运输证编号")
    private String transportCertificateNumber;

    @ApiModelProperty(value = "行驶证反面图片ID")
    private Long vehicleLicensePictureBackId;

    @ApiModelProperty(value = "行驶证副页图片ID")
    private Long vehicleLicenseSupplementaryPagePictureId;

    @ApiModelProperty(value = "网约车运输证正面照片ID")
    private Long transportCertificatePictureId;


    public static final String VEHICLE_ID = "vehicle_id";

    public static final String VEH_NO = "veh_no";

    public static final String COMPANY_ID = "company_id";

    public static final String VEH_STATUS = "veh_status";

    public static final String VEH_COLOR = "veh_color";

    public static final String VEH_SEATS_NUMBER = "veh_seats_number";

    public static final String CODE = "code";

    public static final String VEH_ENGINE_NUMBER = "veh_engine_number";

    public static final String VEH_FRAME_NUMBER = "veh_frame_number";

    public static final String VEH_FUEL_TYPE = "veh_fuel_type";

    public static final String TAG = "tag";

    public static final String EXPAND1 = "expand1";

    public static final String EXPAND2 = "expand2";

    public static final String EXPAND3 = "expand3";

    public static final String VERSION = "version";

    public static final String DELETED = "deleted";

    public static final String CREATE_USER = "create_user";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_USER = "update_user";

    public static final String UPDATE_TIME = "update_time";

    public static final String VEH_TYPE = "veh_type";

    public static final String VEHICLE_PICTURE_ID = "vehicle_picture_id";

    public static final String VEHICLE_LICENSE_PICTURE_ID = "vehicle_license_picture_id";

    public static final String CITY_CODE = "city_code";

    public static final String DRIVING_LICENSE_NUMBER = "driving_license_number";

    public static final String VEHICLE_OWNER_ID = "vehicle_owner_id";

    public static final String TRANSPORT_CERTIFICATE_NUMBER = "transport_certificate_number";

    public static final String VEHICLE_LICENSE_PICTURE_BACK_ID = "vehicle_license_picture_back_id";

    public static final String VEHICLE_LICENSE_SUPPLEMENTARY_PAGE_PICTURE_ID = "vehicle_license_supplementary_page_picture_id";

    public static final String TRANSPORT_CERTIFICATE_PICTURE_ID = "transport_certificate_picture_id";

}
